E:/E+I/Informatik/Projekte/FH/n-Damen Problem/clrbox.c

Go to the documentation of this file.
00001 
00009 #include "ndame.h"
00010 
00024 void clrbox(int ibox)
00025 {    
00026     int ii;
00027     int ij;
00028 
00029 
00030     if(!ibox)                                         //clear left box
00031     {
00032         for(ij=4;ij<=20;ij++)
00033         {
00034             for(ii=2;ii<=39;ii++)
00035             {
00036                 gotoxy(ii,ij);
00037                 printf(" ");
00038             }
00039         }
00040     }
00041     else                                              //clear right box
00042     {
00043         for(ij=4;ij<=20;ij++)
00044         {
00045             for(ii=41;ii<=79;ii++)
00046             {
00047                 gotoxy(ii,ij);
00048                 printf(" ");
00049             }
00050         }
00051     }
00052 }

Generated on Sun Dec 18 19:26:13 2005 for n-Queens Problem by  doxygen 1.4.5